package cn.openea.perpartner.meily.constant;

import cn.openea.perpartner.meily.constant.enums.ImportAndExportActions;

/**
 * @author ysk
 * @version 1.0.1
 * @Description 公用产量
 * @createTime 2023年04月21日 15:18:00
 */
public interface CommonConstants {


    /**
     * 订单钱包退款失败标记
     */
    String PURSE_REFUND_FAILED = "PURSE_REFUND_FAILED";

    /**
     * 短信系统
     */
    interface SMS_SYSTEM {

        /**
         * 商品发货通知模板
         */
        String GOODS_DELIVERY_TEMP = "SMS_460265004";
    }

    /**
     * 物流相关
     */
    interface LOGISTICS {
        String LOGISTICS_DATA_CACHE = "LOGISTICS_DATA";
        // 物流业务状态
        Short BUSINESS_FINISH = 1;
        Short BUSINESS_UNFINISHED = 0;

        /**
         * 物流发货动作
         */
        String DELIVERY_ACTION = "DELIVERY_ACTION";
        /**
         * 改物流动作
         */
        String CHANGE_LOGISTICS_ACTION = "CHANGE_LOGISTICS_ACTION";
    }

    /**
     * 导入导出相关
     */
    interface IMPORTANDEXPORT {
        /**
         * 对应枚举 {@link ImportAndExportActions}
         */
        String EVALUATION_BATCH_DELIVERY = "EVALUATION_BATCH_DELIVERY";
        String GROUPBUY_BATCH_DELIVERY = "GROUPBUY_BATCH_DELIVERY";
        String SAMPLE_BATCH_DELIVERY = "SAMPLE_BATCH_DELIVERY";
        String GROUPBUY_ENTER_SUPPLYPRICE = "GROUPBUY_ENTER_SUPPLYPRICE";
        String ENTERPRISE_IMPORT = "ENTERPRISE_IMPORT";
    }

    /**
     * redis key相关
     */
    interface REDIS_KEY {
        String ZONE_GOODS_ID = "ZONE_GOODS_ID";
    }
}
